﻿#ifndef BULLET_H
#define BULLET_H

#include"pixmapitem.h"
#include"net.h"

class bullet:public pixmapItem
{
public:
    bullet(const QString&path,QGraphicsScene*scene,qreal angle);
protected:
    void advance(int phase)override;//运动
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = nullptr) override;
};

#endif // BULLET_H
